Optimal. Leaf size=40 \[ \frac{\sqrt{\pi } x \left (a x^n\right )^{-1/n} \text{Erfi}\left (\frac{\sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0222031, antiderivative size = 40, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {2300, 2180, 2204} \[ \frac{\sqrt{\pi } x \left (a x^n\right )^{-1/n} \text{Erfi}\left (\frac{\sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2300
Rule 2180
Rule 2204
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{\log \left (a x^n\right )}} \, dx &=\frac{\left (x \left (a x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{x}{n}}}{\sqrt{x}} \, dx,x,\log \left (a x^n\right )\right )}{n}\\ &=\frac{\left (2 x \left (a x^n\right )^{-1/n}\right ) \operatorname{Subst}\left (\int e^{\frac{x^2}{n}} \, dx,x,\sqrt{\log \left (a x^n\right )}\right )}{n}\\ &=\frac{\sqrt{\pi } x \left (a x^n\right )^{-1/n} \text{erfi}\left (\frac{\sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}}\\ \end{align*}
Mathematica [A] time = 0.0037399, size = 40, normalized size = 1. \[ \frac{\sqrt{\pi } x \left (a x^n\right )^{-1/n} \text{Erfi}\left (\frac{\sqrt{\log \left (a x^n\right )}}{\sqrt{n}}\right )}{\sqrt{n}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.178, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{\sqrt{\ln \left ( a{x}^{n} \right ) }}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{\log \left (a x^{n}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{\log{\left (a x^{n} \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{\log \left (a x^{n}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]